import request from "@/utils/request";

export function addDocumentVideoType(documentVideoType) {
    return request({
        url: '/documentVideoType/addDocumentVideoType',
        method: 'post',
        data:documentVideoType
    })
}

export function deleteDocumentVideoType(ids) {
    return request({
        url: '/documentVideoType/deleteDocumentVideoType',
        method: 'delete',
        data:ids
    })
}

export function changeDocumentVideoType(documentVideoType) {
    return request({
        url: '/documentVideoType/updateDocumentVideoType',
        method: 'post',
        data:documentVideoType
    })
}

export function getAllDocumentVideoType(documentVideoType,page,pageSize) {
    return request({
        url: '/documentVideoType/getAllDocumentVideoType?'+'page='+page+'&pageSize='+pageSize,
        method: 'post',
        data:documentVideoType
    })
}
export function getDocumentVideoTypeList() {
    return request({
        url: '/documentVideoType/getDocumentVideoTypeList',
        method: 'get',
    })
}
